
//findByBackLogList

import {orderRequest, userRequest} from "@/utils/HttpRequest";

//wallet Log
export async function findByWalletPageLogList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByPageLogList", {
      method: "GET", params: {...params}
    } )


}

//wallet Log
export async function findByWalletBackLogList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByBackLogList", {
      method: "GET", params: {...params}
    } )


}
export async function findByWalletBackLogList1(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByPageList", {
      method: "GET", params: {...params}
    } )


}


//wallet Log
export async function findByWalletBackPageWithdrawal(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByPageWithdrawalList", {
      method: "GET", params: {...params}
    } )


}


//wallet Log
export async function findByWalletPageList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByBackLogList", {
      method: "GET", params: {...params}
    } )


}

//wallet Log
export async function findByBackIntegralLogList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "wallet/findByBackIntegralLogList", {
      method: "GET", params: {...params}
    } )


}

//wallet Log
export async function findByBackIntegralList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "integral/findByList", {
      method: "GET", params: {...params}
    } )


}



export async function withdrawalStatus(id?: number,status?: number) {
  return userRequest<API.BaseResult> ( "wallet/withdrawalStatus", {
    method: "POST",
    params: {id: id,status:status}
  } )
}


//getWithdrawalInfo
export async function getWithdrawalInfo(id?: number) {
  return userRequest<API.BaseDataResult<any>> ( "wallet/getWithdrawalInfo", {
    method: "GET",
    params: {id: id}
  } )
}


export async function auditWithdrawalInfo(params: any) {
  return userRequest<API.BaseResult> ( "wallet/auditWithdrawalInfo", {
    method: "POST",
    data: params
  } )
}

export async function findByAddressBackLogList(params?: any) {
  //SwaggerResources


  return userRequest<API.LoginLog> (
    "address/findByPageList", {
      method: "GET", params: {...params}
    } )


}



